package com.jry.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 网关启动程序
 *
 * @author zhangsuhang
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
public class JryGatewayApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(JryGatewayApplication.class, args);
        System.out.println("~~~若依网关启动成功~~~  \n" +
              "    _                                           _                                     \n"
            + "   (_)                                         | |                                    \n"
            + "    _   _ __   _   _   ______    __ _    __ _  | |_    ___  __      __   __ _   _   _ \n"
            + "   | | | '__| | | | | |______|  / _` |  / _` | | __|  / _ \\ \\ \\ /\\ / /  / _` | | | | |\n"
            + "   | | | |    | |_| |          | (_| | | (_| | | |_  |  __/  \\ V  V /  | (_| | | |_| |\n"
            + "   | | |_|     \\__, |           \\__, |  \\__,_|  \\__|  \\___|   \\_/\\_/    \\__,_|  \\__, |\n"
            + "  _/ |          __/ |            __/ |                                           __/ |\n"
            + " |__/          |___/            |___/                                           |___/");
    }
}
